package jfox.platform.organization.bo;
import java.util.List;
import jfox.platform.organization.entity.Department;
/**
 * @author <a href="mailto:sheshengdian@gmail.com">sheshengdian</a>
 */
public interface DepartmentBO {
	    void newDepartment(Department dpment);

	    void deleteDepartment(long id);

	    void updateDepartment(Department dpment);

	    Department getDepartmentById(long id);
	    
	    Department getDepartmentByCompany(long companyId);

	    List<Department> getAllDepartments();
}
